package com.douqu.game.core.web.response;

/**
 * @author wangzhenfei
 *         2018-04-16 14:00
 */
public class QueryRechargeCount {
    private int type;
    private int count;

    public QueryRechargeCount() {
    }

    public QueryRechargeCount(int type, Integer count) {
        this.type = type;
        this.count = count == null  ? 0 :count;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "QueryRechargeCount{" +
                "type=" + type +
                ", count=" + count +
                '}';
    }
}
